package com.jhhc.FloodForecast.Sensor.Pojo;

public class BDMS_ST_SENSORALARM_B {
    private Integer pid;

    private String stcd;

    private String sensorid;

    private String alarmid;

    private String stnm;

    private String sensornm;

    private String sendortp;

    private String alarmlevel;

    private Double alarmvalue;

    private Integer pduration;

    private String remark;

    private String tag;

    public String getHistorymax() {
        return historymax;
    }

    @Override
    public String toString() {
        return "BDMS_ST_SENSORALARM_B{" +
                "pid=" + pid +
                ", stcd='" + stcd + '\'' +
                ", sensorid='" + sensorid + '\'' +
                ", alarmid='" + alarmid + '\'' +
                ", stnm='" + stnm + '\'' +
                ", sensornm='" + sensornm + '\'' +
                ", sendortp='" + sendortp + '\'' +
                ", alarmlevel='" + alarmlevel + '\'' +
                ", alarmvalue=" + alarmvalue +
                ", pduration=" + pduration +
                ", remark='" + remark + '\'' +
                ", tag='" + tag + '\'' +
                ", historymax='" + historymax + '\'' +
                ", ensure='" + ensure + '\'' +
                '}';
    }

    public void setHistorymax(String historymax) {
        this.historymax = historymax;
    }

    public String getEnsure() {
        return ensure;
    }

    public void setEnsure(String ensure) {
        this.ensure = ensure;
    }

    private String  historymax;
    private String       ensure;

    public Integer getPid() {
        return pid;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }

    public String getStcd() {
        return stcd;
    }

    public void setStcd(String stcd) {
        this.stcd = stcd == null ? null : stcd.trim();
    }

    public String getSensorid() {
        return sensorid;
    }

    public void setSensorid(String sensorid) {
        this.sensorid = sensorid == null ? null : sensorid.trim();
    }

    public String getAlarmid() {
        return alarmid;
    }

    public void setAlarmid(String alarmid) {
        this.alarmid = alarmid == null ? null : alarmid.trim();
    }

    public String getStnm() {
        return stnm;
    }

    public void setStnm(String stnm) {
        this.stnm = stnm == null ? null : stnm.trim();
    }

    public String getSensornm() {
        return sensornm;
    }

    public void setSensornm(String sensornm) {
        this.sensornm = sensornm == null ? null : sensornm.trim();
    }

    public String getSendortp() {
        return sendortp;
    }

    public void setSendortp(String sendortp) {
        this.sendortp = sendortp == null ? null : sendortp.trim();
    }

    public String getAlarmlevel() {
        return alarmlevel;
    }

    public void setAlarmlevel(String alarmlevel) {
        this.alarmlevel = alarmlevel == null ? null : alarmlevel.trim();
    }

    public Double getAlarmvalue() {
        return alarmvalue;
    }

    public void setAlarmvalue(Double alarmvalue) {
        this.alarmvalue = alarmvalue;
    }

    public Integer getPduration() {
        return pduration;
    }

    public void setPduration(Integer pduration) {
        this.pduration = pduration;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    public String getTag() {
        return tag;
    }

    public void setTag(String tag) {
        this.tag = tag == null ? null : tag.trim();
    }
}